package test;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;

import com.ssm.maven.core.util.CommonUtils;

@RunWith(SpringJUnit4ClassRunner.class)
@WebAppConfiguration
@ContextConfiguration({"classpath*:/spring-context.xml", "classpath*:/spring-context-mvc.xml",
        "classpath*:/mybatis-config.xml"})
public class Ueditor
{
    @Autowired
    private CommonUtils commonUtils;

    @Test
    public void test()
    {
        System.out.println(commonUtils.getUploadPath());
    }

}
